package com.pearadmin.pro.modules.school.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.common.web.base.page.PageResponse;
import java.util.List;

import com.pearadmin.pro.modules.school.domain.CourseCode;

import com.pearadmin.pro.modules.school.dto.CourseCodeDTO;
import com.pearadmin.pro.modules.school.param.CourseCodeRequest;

/**
 * 课程代码Service接口
 * @author ChenJian
 * @date 2021-08-29
 */
public interface CourseCodeService extends IService<CourseCode>
{
    /**
    * 获取查询课程代码列表 (分页)
     *
     * @param request 参数实体
    *
    * @return {@link CourseCode}
    * */
    PageResponse< CourseCode> page(CourseCodeRequest request);

    Boolean saveOrUpdate(CourseCodeDTO courseCode);
    /**
     * 查询课程代码
     *
     * @param id 课程代码ID
     * @return 课程代码
     */
    CourseCodeDTO selectCourseCodeById(Long id);

}
